package main

import (
	"fmt"
	"math/rand"
	"time"
)

func main(){
	var count int = 0
	for{
		rand.Seed(time.Now().UnixNano())
		n := rand.Intn(100) + 1
		fmt.Println("n = ",n)
		count++
		if(n==99){
			break
		}
	}
	fmt.Println("生成 99 一共用了 ",count)
}